export const isMiniProgram = () => {
  return /miniProgram/i.test(navigator.userAgent);
};

export const isIOS = () => {
  return !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
};
